package com.ffox.service;

import com.ffox.entity.ForumComment;
import com.ffox.entity.ForumPost;
import com.ffox.service.dto.CommentDto;
import com.ffox.service.dto.PostDto;

import java.util.List;

public interface UserForumService {
    List<PostDto> getAllPosts();
    Integer addPost(ForumPost post);
    Integer deletePost(Long postId);

    List<CommentDto> getComments(Long postId);
    Integer addComment(ForumComment comment);
    Integer deleteComment(Long commentId);
}
